package com.zrrd.springboot_homework.mapper;

import com.zrrd.springboot_homework.pojo.Tea;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author WanJl
 * @version 1.0
 * @title TeaMapper
 * @description
 * @create 2024/3/23
 */
@Mapper
public interface TeaMapper {

    List<Tea> queryAll();

    Integer insert(Tea tea);

    Integer update(Tea tea);

    Integer delete(Integer id);

    Tea queryById(Integer id);
    
    
}
